package chances.webui.annotation;

import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Target( {TYPE, METHOD, FIELD, ANNOTATION_TYPE })
@Retention(RUNTIME)
public @interface Widget {
	String name();
	String init() default "init";
	String destory() default "destory";
}
